#!/usr/bin/env ROOT/script/runner
require 'action_controller/integration'
require 'profiler'
app = ActionController::Integration::Session.new
Profiler__::start_profile
app.get ARGV[0].to_s
Profiler__::stop_profile
file = File.open("ROOT/log/profile.log","w")
Profiler__::print_profile(file)
file.close
